package cn.com.cennavi.Registrator;

import org.apache.spark.serializer.KryoRegistrator;

import cn.com.cennavi.bean.MineLabODBean;
import cn.com.cennavi.bean.OD_HotSpot_OutDataBean;
import cn.com.cennavi.bean.OD_OdNum_OutDataBean;
import cn.com.cennavi.bean.ShpFileBean;
import cn.com.cennavi.bean.TrajectoryBean;
import cn.com.cennavi.config.GlobalConfig;
import cn.com.cennavi.config.MineLabODConfig;

import com.esotericsoftware.kryo.Kryo;

public class MyRegistrator implements KryoRegistrator {

	public void registerClasses(Kryo arg0) {
		// TODO Auto-generated method stub
		arg0.register(MineLabODBean.class);
		arg0.register(OD_OdNum_OutDataBean.class);
		arg0.register(OD_HotSpot_OutDataBean.class);
		arg0.register(ShpFileBean.class);
		arg0.register(TrajectoryBean.class);
		arg0.register(GlobalConfig.class);
		arg0.register(MineLabODConfig.class);
	}

}
